package com.nuoniu.sibanyun.entity.erp.in;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.nuoniu.sibanyun.common.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.math.BigDecimal;

/**
 * <p>
 *
 * </p>
 *
 * @author baiqiang
 * @since 2020-11-23
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
@TableName("in_inventory_unit_group")
@ApiModel(value="InInventoryUnitGroup对象", description="")
public class InInventoryUnitGroup extends BaseEntity {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "账套id")
    @TableField("account_id")
    private Integer accountId;

    @ApiModelProperty(value = "租户ID")
    @TableField("company_id")
    private Integer companyId;

    @ApiModelProperty(value = "物料ID")
    @TableField("inventory_id")
    private Integer inventoryId;

    @ApiModelProperty(value = "计量组ID")
    @TableField("unit_group_id")
    private Integer unitGroupId;

    @ApiModelProperty(value = "计量单位ID")
    @TableField("unit_id")
    private Integer unitId;

    @ApiModelProperty(value = "换算率")
    @TableField("change_rate")
    private BigDecimal changeRate;


}
